package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.member.LiftRulesFormat;
import com.dragon.modules.yuegou.enums.member.LiftRulesStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 会员升降规则说明表实体类<br>
 * 对应的表为：mem_lift_rules<br>
 * 
 * @author pbuilder generated
 * @date 2019-03-16 15:13:13
 * @company sgy
 * @version 2.0
 */
@TableName("mem_lift_rules")
@ApiModel(description = "会员升降规则说明表")
public class LiftRulesEntity {

    /**  */
	protected String id;

    /** [枚举]规则格式：1-文字-TEXT、2-图片-PICTURE */
	@ApiModelProperty("[枚举]规则格式：1-文字-TEXT、2-图片-PICTURE")
	protected LiftRulesFormat format;

    /** 规则标题 */
	@ApiModelProperty("规则标题")
	protected String title;

    /** 规则文字说明 */
	@ApiModelProperty("规则文字说明")
	protected String remark;

    /** 规则图片 */
	@ApiModelProperty("规则图片")
	protected String img;

    /**  */
	protected String busdId;

    /** [枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED */
	@ApiModelProperty("[枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED")
	protected LiftRulesStatus status;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

    /** 逻辑删除，1表示已删除,0表示未删除 */
	@ApiModelProperty("逻辑删除，1表示已删除,0表示未删除")
	protected Boolean del;

    /**  */
	protected String delBy;

    /**  */
	protected LocalDateTime delTime;

	/**
	 * 构造一个空会员升降规则说明表实体对象
	 */
	public LiftRulesEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员升降规则说明表实体对象
	 * 
	 * @param other 其它对象
	 */
	public LiftRulesEntity(LiftRulesEntity other){
		super();
     	this.id = other.id;
     	this.format = other.format;
     	this.title = other.title;
     	this.remark = other.remark;
     	this.img = other.img;
     	this.busdId = other.busdId;
     	this.status = other.status;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
     	this.del = other.del;
     	this.delBy = other.delBy;
     	this.delTime = other.delTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取[枚举]规则格式：1-文字-TEXT、2-图片-PICTURE
	 * 
	 * @return format [枚举]规则格式：1-文字-TEXT、2-图片-PICTURE
	 */
	public LiftRulesFormat getFormat() {
		return format;
	}
  	
	/**
	 * 设置[枚举]规则格式：1-文字-TEXT、2-图片-PICTURE
	 * 
	 * @param format [枚举]规则格式：1-文字-TEXT、2-图片-PICTURE
	 */
	public void setFormat(LiftRulesFormat format) {
		this.format = format;
	}

	/**
	 * 获取规则标题
	 * 
	 * @return title 规则标题
	 */
	public String getTitle() {
		return title;
	}
  	
	/**
	 * 设置规则标题
	 * 
	 * @param title 规则标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 获取规则文字说明
	 * 
	 * @return remark 规则文字说明
	 */
	public String getRemark() {
		return remark;
	}
  	
	/**
	 * 设置规则文字说明
	 * 
	 * @param remark 规则文字说明
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取规则图片
	 * 
	 * @return img 规则图片
	 */
	public String getImg() {
		return img;
	}
  	
	/**
	 * 设置规则图片
	 * 
	 * @param img 规则图片
	 */
	public void setImg(String img) {
		this.img = img;
	}

	/**
	 * 获取
	 * 
	 * @return busdId 
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param busdId 
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取[枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED
	 * 
	 * @return status [枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED
	 */
	public LiftRulesStatus getStatus() {
		return status;
	}
  	
	/**
	 * 设置[枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED
	 * 
	 * @param status [枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED
	 */
	public void setStatus(LiftRulesStatus status) {
		this.status = status;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @return del 逻辑删除，1表示已删除,0表示未删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @param del 逻辑删除，1表示已删除,0表示未删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

    public String toString() {
		return new StringBuilder().append("LiftRulesEntity{").
			append("id=").append(id).
			append(",format=").append(format).
			append(",title=").append(title).
			append(",remark=").append(remark).
			append(",img=").append(img).
			append(",busdId=").append(busdId).
			append(",status=").append(status).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append(",del=").append(del).
			append(",delBy=").append(delBy).
			append(",delTime=").append(delTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public LiftRulesEntity copy() {
		return new LiftRulesEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** [枚举]规则格式：1-文字-TEXT、2-图片-PICTURE */
	public static final String COL_FORMAT = "format";

    /** 规则标题 */
	public static final String COL_TITLE = "title";

    /** 规则文字说明 */
	public static final String COL_REMARK = "remark";

    /** 规则图片 */
	public static final String COL_IMG = "img";

    /**  */
	public static final String COL_BUSD_ID = "busd_id";

    /** [枚举]规则状态：1-可用-ENABLED、2-禁用-DISABLED */
	public static final String COL_STATUS = "status";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /** 逻辑删除，1表示已删除,0表示未删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_BY = "del_by";

    /**  */
	public static final String COL_DEL_TIME = "del_time";
}
